#include <iostream>

using namespace std;

void error_msg(initializer_list<string> ls) {
    for (auto beg = ls.begin(); beg != ls.end(); ++beg) {
        cout << *beg << " ";
    }
    cout << endl;
}

int main() {
    string excepted = "aaa", actual = "bbb";
    if (excepted != actual) {
        error_msg({ "functionX", excepted, actual });
    }
    else {
        error_msg({ "functionX", "Okay" });
    }
    return 0;
}